﻿@{
    var assemblyName = System.Reflection.Assembly.GetExecutingAssembly().GetName().Name;
    var controllerService = Presentation.Web.Admin.PreAdminEngine.Resolve<Infrastructure.Crosscutting.Authorize.IMvcControllerService>();
    var controller = controllerService.GetList().OrderBy(e => e.Id).Select(e => new
    {
        id = e.Id,
        controller = e.AssemblyFullName.Replace(assemblyName + ".Controllers.", "")
    });
}
<select id="controllerId" name="controllerId">
    <option value="0">--请选择--</option>
    @{
        foreach (var item in controller)
        {
        <option value = "@(item.id)">@(item.controller)</option>
        }
    }
</select>